package org.example.pojo;

/**
 * ClassName: Emp
 * Package: org.example.pojo
 * Description:
 *
 * @Author wanghao
 * @Create 2024-07-09 9:27
 * @Version 1.0
 */
public class Emp {

    private Integer empId;

    private String empName;

    private Integer salary;
    private String deptNo;

    public Emp() {
    }

    public Integer getEmpId() {
        return empId;
    }

    public void setEmpId(Integer empId) {
        this.empId = empId;
    }

    public String getEmpName() {
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName;
    }

    public Integer getSalary() {
        return salary;
    }

    public void setSalary(Integer salary) {
        this.salary = salary;
    }

    public String getDeptNo() {
        return deptNo;
    }

    public void setDeptNo(String deptNo) {
        this.deptNo = deptNo;
    }

    @Override
    public String toString() {
        return "Emp{" +
                "empId=" + empId +
                ", empName='" + empName + '\'' +
                ", salary=" + salary +
                ", deptNo='" + deptNo + '\'' +
                '}';
    }
}
